home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Misc System Settings 2.xpl < prev    next >
Text File  |  2003-01-02  |  3KB  |  76 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="2"
  3. "COUNT"="4"
  4. "UIPATH"="System\Advanced Performance Settings"
  5. "NAME"="Windows 9x/ME Expert Settings"
  6. "VERSION"="1.17"
  7. "OSVERSION"="10101"
  8. "WARNING"="1"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="MaxBPs"
  11. "TEXT 2"="MinTimeSlice"
  12. "TEXT 3"="WindowUpdateTime"
  13. "TEXT 4"="PageBuffers"
  14. "DESCRIPTION 1"="*WARNING* These settings are highly dangerous! Be very careful when changing them!!"
  15. "DESCRIPTION 2"="MaxBPs:"
  16. "DESCRIPTION 3"="Maximum size in Bytes for break points used by Windows Virtual Memory Manager (VMM). Windows allocates memory space for break points in 4096 Bytes (4 KB) blocks. If you increase this number to 400, Windows opens a second 4K block, and if raised to 800, a third block is allocated etc. Windows 9x recommended value: 16384. Default: 370"
  17. "DESCRIPTION 4"="MinTimeSlic:"
  18. "DESCRIPTION 5"="To increase the minimum time (in milliseconds) a Virtual Machine (VM) is allowed to run before other VMs can take over. Default value is 20. Smaller values (such as 10) make multitasking smoother, but decrease overall system performance.
  19. "DESCRIPTION 6"="WindowUpdateTime:"
  20. "DESCRIPTION 7"="To decrease the time (in milliseconds) between display updates for programs running in a Command Prompt window. Default value is 50."
  21. "DESCRIPTION 8"="PageBuffers:"
  22. "DESCRIPTION 9"="To increase the 4K page buffers number for storing asynchronous read/write pages, and thus Windows performance. This is usually used to increase page buffers, although it can be used to reduce them as well. Works ONLY if using 32-bit disk access AND a permanent swap file. Default value is 4. Maximum allowed is 32."
  23. "AUTHOR"="Xteq Systems"
  24. "CONTACTURL"="http://www.xteq.com"
  25. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  26. "COMMENT 1"=" "
  27. "COMMENT 2"="Thanks to AXCEL216!"
  28. "COMMENT 3"="Thanks to Thanks to Chris [mailto:cgmt@flashmail.com] for "wrong INI file" bug fix"
  29.  
  30.  
  31. sFile="SYSTEM.INI"
  32. sSec="386Enh"
  33.  
  34. sV1="MaxBPs"
  35. sV2="MinTimeSlice"
  36. sV3="WindowUpdateTime"
  37. sV4="PageBuffers"
  38.  
  39.  
  40. Sub Plugin_Initialize  
  41.     s=IniReadValue(sFILE,sSec,sV1)
  42.     SetUIElement 1,s
  43.  
  44.     s=IniReadValue(sFILE,sSec,sV2)
  45.     SetUIElement 2,s
  46.  
  47.     s=IniReadValue(sFILE,sSec,sV3)
  48.     SetUIElement 3,s
  49.  
  50.     s=IniReadValue(sFILE,sSec,sV4)
  51.     SetUIElement 4,s
  52. End Sub
  53.  
  54. Sub Plugin_CheckData(ElementIndex)
  55. End Sub
  56.  
  57. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  58.  i=GetUIElement(1)
  59.  Call IniWriteValue(sFILE,sSec,sV1,i) 
  60.  
  61.  i=GetUIElement(2)
  62.  Call IniWriteValue(sFILE,sSec,sV2,i) 
  63.  
  64.  i=GetUIElement(3)
  65.  Call IniWriteValue(sFILE,sSec,sV3,i) 
  66.  
  67.  i=GetUIElement(4)
  68.  Call IniWriteValue(sFILE,sSec,sV4,i) 
  69.  
  70.  
  71.  Call Restart()
  72. End Sub
  73.  
  74. Sub Plugin_Terminate 
  75. End Sub
  76.